parser: fix off by 30720, closes #3