fix the completions bug