fix hist