Fixed completions

Some debug code was preventing completions from working