notes on fixing macro