fix @ splitting bug in histogram