Fix bug in ConfigUI