python3.3 fixes