fixed the dispatch vehicle bug