Fixed python 3.3 syntax error