fix code in sc-mqtt module