fix for apostrophes at the end of a selection