task search bug fix