index at root handling

index handling