minor changes

Changes to get MongoDB working properly.