fixed the problem with the error bars for bins with zero entries