fixed event clicks after edits