fix macro definition