fix: tasks factory