minnor issue with kHist solved