fixing things so postgre can work on heroku