make conditional_transformer properly movable