bug in course searching