Fixed pg gm for Heroku