remove duplicate ASSIGN_REF