fixed another instance of the cancel bug