Using topic was actually better way!
Remove len
data2xml can throw error so handle it