Fixed a bug in config UI