fixed failure in .contain method