fixed containsIn bug