minor admin.py fix