alert in location validation