replace tree base with container base