bug of not close all events on close software fixed