small fix (checking for reading)