fix TaskSearch undefined