double processing bug fix