Compatibility with python2
issue