fixed event creating