fix gui issues