fix for py26.