fixed pg gem