fix empty selected error when set selectedRows option