Fix pg missing flag and cosmetic changes