fixed a bug in case.py