Fixed a add course regression