Fix on_quit stats

Signed-off-by: Jorge Cuadrado <kuadrosxx@gmail.com>