fix registerMultiTask.