set index as root