don't check for null when the version is primitive