fix escaping the escape_char