Cleaning up the string and fixing the line length.