solve issue on dispatching