give location permission and then check