completion fix for python3