bug #2 and GUI