fixed html for course pages

fixed the files and write code to change the names