correct constructor generation

Disable output to stdout.