Text output fix