fix way to generate host completion candidates