fix escape character in strings