Fixed problem with Python 3.3