fix for python3.2