fixed index/home bug