fixing modifing event