fixing db issues for heroku