fix message subscribe and broadcast