remove duplicate chain