addReference() actually throws exception

does not override existing reference