fix search2/Generator