fixed bug in destroy-dispatch