a bit of output cleanup