fix macro context