copied index to root