support config with only a list and updated sample