modify error print format in parser