avoid publish in nobody is listening