fix version compare > 6.5