fix oneEvent and removeEvent bug