fix simple/producer sample to use constant instead on integer