Fixed rrCounter not being initialized