fix course data types