fix wide scanf to respect field width for strings