fixed create course bug