fixed bug with rc.