removed punctuation at the end of document