fixed event add/edit/delete