PortalKit: fix bug that a short unexpected variable shown on settings page