Fix the check command