fix some row problems