fixed THE gui bug