fixed event editing