pass compare fix