Fixed CompositeGenerator error