row selection fix