Waiting until trees are loaded