fix install problem with statistics