fixed wrong python 3.2 syntax