fix report macro