fix sql bug for operator pay product