Remove warnings in mongo setup