fixes to course database