Fixed error in index controller