fix: remove class when call destroy()