monogdb fix for heroku