fix: invalid file seek position for line head.