jmx discovery fix