fix bug in reset_data in mantis.py