parse: fixed 1-off index bug + more debugging printouts
cnv: better error message
test: cosmetics