fix small partition error in portalExec