fixed destroy
Included erd file