Fix to confirmation plugin