quote-escape-bugfix (thanks to maha)