minor database related fix for heroku