duplicate references safety mechanism