remove the events from submodules