Bug 948852 - Fix the event creation error