Histogram axes fixed, the code is robust now, PHEW