fix some textoutput