r_c_r bugfix attempt 1