fix checking