fix the check warning