fixed removing of event
fixed removing of event