removed multiple references to pg