fix bug in row