got rid of bad characters