safety null check for incoming relations