fix on python3