Fixed HomeController code