fix destroy task