fixed translating of routes and stuff