fix Macro_Free function bug