bugfix: incorrect null handling if accum overflow