fix typos and clear resolver