fix some bugs in the task list and hook, remove unnecessary hook
Merge branch 'nlp_pipeline_events' into dev