fixes seek method