remove eventdispatcher