fix indexController.php