clean up dead classes