fixed a bug in fullmsa.register