skip read when eof