fix escaped chars