fix a version compare issue