fix the pg gem issue