[bugfix] map clear before search.