Small fixes for stats