fix check_user_cmd