slight tweaks to admin.php