Fixes routes.