allow duplicate references flag