slight fix to admin.py