bugfix in admin.py