fixing compareAlike