make sure punctuation at end of note is kept