fixes to admin panel