tidy up line breaks and capitalisation