moved index to the root