Fixed a problem with Python3.3 compatibility.