Fixed bug in HomeController.