tools.macro behaves badly again