metomi/rose#21: fix last row bug