clean mongo.py