fix pg