home index view fix in case location doesnt exist