fixed isproducer bug