fixed bad characters in tokens