fix error in sub-macro packets size