fix 3 errors from new stats system

Signed-off-by: Salja <salja8840@gmail.com>