[DF-1346] fixed some bugs with wrong index
[DF-1474] fixed refresh to refresh all rows