fixed IndexController.