tried to fix gui