fixed EventDispatcher/Promise#dispatch