Fix eventHandlers length was wrong
Merge pull request #44 from yonekawa/bugfix/event_handlers

Fix eventHandlers length was wrong