fixed issue when geofences didn't update properly