remove duplicate declarations