typo. used delete instead of destroy