python3.3 compatibility
tweak