some tweaking of mongo options (far from perfect)