do refactor in course create
fix course create bug.
remove space
do refactor
do refactor
do refactor