Bugfixes inside class.admin.php.