fix single quote expansion