fix issue where RC is always evaluted to false