fix for python3.3 problems