fixed duplicate defined producer and split in header/src file