Fixed for python3