set the api_version in the option in only one place