fix admin_tools.py