Another fix for python 3