bug fixes to admin routes