database streams fixed for heroku deployment