solve compare version number