fix when extra_options is missing