removed deprecated conditions in scopes