500.py
fix misc