referring to wrong mqttclient var