fix hang in excel report generation when special chars present in datatype