fix reconnection on controller