fixed issue with r_bin missing stuff