fix translation and collapse of routes