Fixed custom partials' destroy method