add semver check for version