very minor bugfixes to nested completions