fixed extra row bug in DataGrid