small fixes
fix a few mqtt bugs in serial