more code to deal with some more special chars