Remove full stops at the end of an error message