make error checking ignore Value for EOF and ERROR