Forgot to fix the failure check