Fix error message for some cases in parser