fixed trace error in parser