change way stat keys are computed