Fix invalid syntax in python 3.3