Updated admin.php to fix an array invalid key issue