fix new bug in dot_row