Fixing nasty strings