Add missing period at the end of a sentence