Fix issue about Python 3 support