fix problem for python3.2