fixed multiple small bugs in admin_portal