fixed the course status bug