fixed db issue for heroku