correct another bug in relationship creation