clear off the task-list and use api-list