fixed bug being caused by rc.