changing some config fields from textfield to charfield