fixing heroku issue with postgresql db config