fixed bug in AddNewCourse if the course number was left blank