fix tree-tutor
use CodecConfig for tree tutor