Fix scoping error within destroy method