replace left and right single quotes with apostrophe