correct typo in parser

@wj2 here is my major contribution to the codebase!