fixed bug were number of consumers was being ignored.