leverage total_row change