fix bug purge duplicate

fix bug purge duplicate