minor fixes to parsers