add location service check