fix bug in jmx