bug fixing gui