fix for create course bugs