fix pg quoting

fix pg quoting