Fixed bug #240 - CAuto in produce()