replace index with home