use options in task registration (second fix)