remove dup ref