Fixed an issue with routes.