fixed bug in RCC command