Remove bogus characters