fixed expanding behavior of tree ctrl