fixed eof