Fix bug in JMX message