fixed the confusion when initiating tasks