make metric calculation consistent