fix mark5.py