Fix select enable dependence