cleaning up courses