fix for issue when navigating back up tree