fix parse return type, fix checksum issues that were hidden by parse return type being unsigned