fix in Element.contains