fixed escaping on truncate problem