fix args variable in notifyFailure case