fix macro