Bug fixed in IndexController