correct resolveLinkRecord to never return null