repaired escaping of string