delete config editor field and add config switch field