enhanced unique relationship handling