fix for pg db on heroku