changed the nested event change handling