made fix for landing page which didn't work for index