fix macro and correct path