seems to work
fix eof