Add missing variable definition for  in cancellation events