fix gui bug!!!