fix no-completion show bug.