modify the dispatch bug