modify setting_sample