Fix instance.py