fix admin.php and admincontroller