fix find-course npe