fix invalid escape character