Trying to fix the seekdir error