fixed task registration call