fix bugs of Event