fixes to metric types