remove 'waiting topic' in pub function