fixed event creation