remove duplicate register names