fix incorrect metrics being sent