clean up output slightly