bug fixed for mbean register