bug fix when importing as a new course and as a child node