crash when open statistic whit no data input before