fix up routes