typo in initEvent param