eventType variable should be initialized
Merge pull request #627 from Hrumpa/patch-1

eventType variable should be initialized