added floats to course_detail.php