remove duplicate register