fix dom contains