[fix] stupid python3 compatibility