fixing select issue for rtl