fixed second gui bug