fix wrong variable on stats reset
Merge branch 'fix_redis_clear'