different check for bad values