use correct value for check