PortalKit: remove the unuseful stuff