version compare fix