added clearing task/event vectors