add menu config
bug fix: event message was modified incorrectly
finish first version