Fixed Bug in containsVal