fixed small gui bug