Fix pg for production