fix row/col problem

fix row/col problem