fix error, include macro packets