Adding safe flag to mongo setup to get ride of warnings.