clean up some output and text