seek end when io_in opened