compare version to head