fix reading escape strings from command line