fix version compare