relay: fix compiling