search course fixed, narrow down search according to text typed in