issue warning when eof is sooner than expected