event creation fix