Fixed the mqtt output adaptor