fix typos
fix a bug where no possible package would show up if there is no second argument