Fixed destroy task