sample destroy fix