fixes to let other packages to use showOutput.