Fixing warnings in the producers