fix bug of row select