bugfix for python2 paas