a few more corrections in getAllCourses...WIP