Fix the bug that histograms failed for one variable
suppress the warning of binwidth