fix a comment and a bug in mapmri.py