fixed broken dependency for python versions < 2.7.0