fixed double quote psql bug