bug fix in GUI
Merge pull request #23 from Tophans/master

bug fix in GUI