Fixing failure errors