Fixed behavior tree error