Update completer.py

Improvements