delete identical element, use RT version instead
initialize search type
Merge branch '2.0-trunk'