fixed eof to eot