fixed status.py errors