correction for hist log