corrected text output