fix for  error in admin.php