when not found course by name then by materials