function, performance

add find duplicated function, remove duplicate pool reset