showing sum in histogram if mode is set to total
fixed conflict