fixed problem w/ accum