Fix  for python3