fix bug in JConsole