edit fixed pg gem