text output fix