updated remove duplicate