Fixing histogram