fix rank-table % multiplication (#131)