fix wrong single quote encoding