fix syntax error on python 3.x :(