modify get_select_attibutes_method