Fixed import for python 3