correct and extend routes