fix escape chars