fixed tree checker