added assert for only for non clients using the relay functor