Fixing failure variable application