RoutingTask class bug fixed