clean up extra code in JConsole