fixing pg