fixed typo: dstroy -> destroy