solved pg gem issue