location validation