fixing off by one error in parser
fixing another stupid error
im dumb