Fixing selector issue in location services