missed a line when removing some earlier error checking