Fix error in text output.