fixed destroy method