cleaning up courses list