remove trailing punctuation in citation