disable before invalidating query