row/column convert bug fix