fixing mongodb config