bugfix for stats mode