internal data processing bug fix