findDeepestActive added
fixed selected