fixes logical bug in contains