fix escape character issue