correctly get row data