[debugging] fix histogram