check for badvals