RelayLink: fix bugs