fix error on duplicate registration of MBeans