fix bugs when status exception happens
fix bugs in status when value contains \'