fixed the changes in add course controller