Fixing text output