fixed add/remove advertised service bug