bug fix simulaRBC2