add eof flag to block