finish r2_index