Fixed the course enrolling