fix bug with config having a value not in the select