fix alter IndexController.php