correction on text ouput