fixed another Python 2.6 error