fixing mmcorpus.py