fix syntax error (python2.6)