fixing routing problems