fix dependencies in mongodb