fix gui in the previous commit