trying to fix partype parse off by 1