properly compute stat key now