minor gui behaviour