fix: wrong starting offset in constructor