Fix mongo dependency