delete subjects and clean up