fix seek issues