Add safety of statistic database