minor fix for stats