bug fix for course search