Forgot to pass the instance to the destroy function