bug fix for gui slot figure