Fix escape sequences