cleaning up newlines