more PG syntax correction