Fixed BBregister bug