fix workers parameter affected producers instead of consumers