bug fix if no books found for a course