fixed a minor issue with contains.