adapt relationship constraint action regarding issue #60