minor mongo-related changes