fix column ordering and remove R's residual row # cols