clean up output a bit