Fixed crashes in RCC