fix registration on hsm, bsm