MQTT int error fix