removed unused portal_type