db fix for heroku