fix select issue