fixed bug with duplicate root urls