[stats] make add work properly