fixed has_version again, somehow got reverted