fix: invalid file seek