Fix for invalid escape characters