fixing reference to RS