bugfix: unexpected HTrigger registration when assigning a callback