the canonical tree is now built correctly