remove duplicate symbols