Update index_controller.php

Fixing error