Fixing stats transformation.