fixed, also deletes projects associated with class