add transformer restriction.