fix of save hist