fixing db error for heroku