fix python3 stuff