fix bug in event typo