fixed bug in seek and problem in read word