add fix for py 2.5