reset offset after parse not before