refacting name of root path to index