fix bug histogram

fix bug histogram