rm processRxPackage function