change the error info format