fix mongo config