Fix extension disabling