Corrected course name parsing