corrects routing