fix illegal backslash escapes