fix histogram type