Fixed errors on the course view page.