fixed little bugs from the patching
added event_dispatcher back