check has_option_values function is added