refactor eomaintainEvent, sperate two controllers