temporary patch because PG is dumb