Clean text before printing it