make sure the containment path is not null