delete search duplicated codes.