do more checking in parsers