fix communicate bugs in router