improve behavior for name completions