Fix python3.4 bug