bugfix six.moves.xrange