clean up some printing nonsense