fixed completion prefix / reformatted in PEP8