resolves #715 replace single quote at end of word