fixed tree navigation bug