Fixed landing page bug for index view