fix macro usage