fix characters and quotes