change indexCtrl to homeCtrl