fixed negotiation and hubdemo