fix checking warnings