cleaning up terminal output