fixing mqtt lib adding subs code