fix gui configure bug