Fixed simulation error

I’ve removed the destroy call and changed hooks based on other packages.