more python3 support