fixed adding course bug: