I think in addTablerow , index doesn't increase