fix contains and sibling