comparision bug