fix gui wrapper