fixed joining nodes and messages to the controller