Fixes on admin.php