Fix histogram