add course bug fixed