attempt to fix travis errors for python 3+