fixed more bugs realted to CLLocationManager