Fix issue with Python 3.2