Fix bug in CRPSlave initialization