addEvent,removeEvent: bug fixed