fix the bug of create course