additional task engine fix for python 2.6 regub support